package com.spring.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.spring.springboot.sys.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 系统参数配置表(Config)表实体类
 *
 * @author 宋义州
 * @since 2022-07-22 10:51:06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_config")
@ApiModel(description = "Config")
public class Config extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -99380545655846994L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @TableField("value")
    @ApiModelProperty(value = "参数值")
    private String value;

    @TableField("name")
    @ApiModelProperty(value = "名称")
    private String name;

    @TableField("code")
    @ApiModelProperty(value = "编码")
    private String code;

    @TableField("status")
    @ApiModelProperty(value = "启用状态(0：启用、1：禁用)")
    private Integer status;

    @TableField("introduce")
    @ApiModelProperty(value = "描述")
    private String introduce;

}

